#ifndef _EBN_MONITOR_H_
#define _EBN_MONITOR_H_

#include "EbnModel.h"
#include <QObject>

class QStringListModel;
class Dialog;

class CEbnMonitor : public QObject
{

    Q_OBJECT
public:
    CEbnMonitor(CEbnModel * model);
    ~CEbnMonitor();

    void run(void);
    void stop(void);

    void clearCmList(void);
    void clearGoalList(void);
    void clearReceptorList(void);

    void setCmList(QStringList & cmInfo);
    void setGoalList(QStringList & goalInfo);
    void setReceptorList(QStringList & receptorInfo);

    void show();
    void hide();

public slots:
    void updateDisplay(void);

private:

    Dialog * mpMonitorDialog;
    CEbnModel * mpModel;

    QStringListModel * mpCmList;
    QStringListModel * mpGoalList;
    QStringListModel * mpReceptorList;
};

#endif // _EBN_MONITOR_H_
